package org.jeecg.modules.Inventory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 库存表
 * @Author: jeecg-boot
 * @Date:   2024-06-26
 * @Version: V1.0
 */
@Data
@TableName("inventory")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="inventory对象", description="库存表")
@ToString(onlyExplicitlyIncluded = true)
public class Inventory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**客户编码*/
    @Excel(name = "客户编码", width = 15)
    @ApiModelProperty(value = "客户编码")
    @ToString.Include(name = "客户编码")
    private java.lang.String customerCode;
    /**客户名称*/
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    @ToString.Include(name = "客户名称")
    private java.lang.String customerName;
    /**品番编码*/
    @Excel(name = "品番编码", width = 15)
    @ApiModelProperty(value = "品番编码")
    @ToString.Include(name = "品番编码")
    private java.lang.String skuCode;
    /**品番名称*/
    @Excel(name = "品番名称", width = 15)
    @ApiModelProperty(value = "品番名称")
    @ToString.Include(name = "品番名称")
    private java.lang.String skuName;
    /**背番*/
    @Excel(name = "背番", width = 15)
    @ApiModelProperty(value = "背番")
    @ToString.Include(name = "背番")
    private java.lang.String backNum;
    /**品牌*/
    @Excel(name = "品牌", width = 15)
    @ApiModelProperty(value = "品牌")
    @ToString.Include(name = "品牌")
    private java.lang.String brand;
    /**个数*/
    @Excel(name = "个数", width = 15)
    @ApiModelProperty(value = "个数")
    @ToString.Include(name = "个数")
    private java.lang.Integer number;
    /**发票号*/
    @Excel(name = "发票号", width = 15)
    @ApiModelProperty(value = "发票号")
    @ToString.Include(name = "发票号")
    private java.lang.String invoiceNum;
    /**集装箱号*/
    @Excel(name = "集装箱号", width = 15)
    @ApiModelProperty(value = "集装箱号")
    @ToString.Include(name = "集装箱号")
    private java.lang.String containerNum;
    /**来源(国别或其他)*/
    @Excel(name = "来源(国别或其他)", width = 15)
    @ApiModelProperty(value = "来源(国别或其他)")
    @ToString.Include(name = "来源(国别或其他)")
    private java.lang.String source;
    /**长*/
    @Excel(name = "长", width = 15)
    @ApiModelProperty(value = "长")
    @ToString.Include(name = "长")
    private java.math.BigDecimal length;
    /**宽*/
    @Excel(name = "宽", width = 15)
    @ApiModelProperty(value = "宽")
    @ToString.Include(name = "宽")
    private java.math.BigDecimal width;
    /**高*/
    @Excel(name = "高", width = 15)
    @ApiModelProperty(value = "高")
    @ToString.Include(name = "高")
    private java.math.BigDecimal height;
    /**单个重量(g)*/
    @Excel(name = "单个重量(g)", width = 15)
    @ApiModelProperty(value = "单个重量(g)")
    @ToString.Include(name = "单个重量(g)")
    private java.math.BigDecimal weight;
    /**货位*/
    @Excel(name = "货位", width = 15)
    @ApiModelProperty(value = "货位")
    @ToString.Include(name = "货位")
    private java.lang.String location;
    /**入库时间*/
    @Excel(name = "入库时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入库时间")
    @ToString.Include(name = "入库时间")
    private java.util.Date inTime;
    /**状态*/
    @ApiModelProperty(value = "状态")
    private java.lang.Integer status;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    @ToString.Include(name = "备注")
    private java.lang.String remark;
}
